._index-container {
  & .title-box {
    border-radius: 8px;
    padding: 38px 388px 38px 48px;
    margin-bottom: 38px;
    background: url('./images/mogdb-index.png') right 40px center / auto 156px no-repeat, #fff;
    & h1 {
      margin: 0;
      padding: 0;
      font-size: 32px;
      padding-bottom: 16px;
    }
    & p {
      max-width: 544px;
      padding: 0;
      margin: 0;
      color: #606266;
      text-align: justify;
    }
  }
  & .index-box {
    padding-left: 32px;
  }
  & .index-group {
    margin-bottom: 20px;
    & h3 {
      font-size: 18px;
      font-weight: 400;
      padding-bottom: 16px;
      margin: 0;
    }
    & .links {
      display: flex;
      align-items: stretch;
      flex-wrap: wrap;
    }
    & .links p {
      cursor: pointer;
      width: calc((100% - 75px) / 3);
      background: #FFFFFF;
      border-radius: 8px;
      font-size: 16px;
      color: #333;
      margin-bottom: 14px;
      margin-right: 25px;
      &:hover {
        box-shadow: 4px 4px 29px 1px rgba(152,153,155,0.17);
        color: #FF6407;
      }
    }
    & a {
      display: block;
      color: inherit;
      padding: 16px 28px;
      &:hover {
        color: #FF6407;
      }
    }
  }
}

.doc-container {
  flex: 1;
  display: flex;
  padding: 24px 30px 20px;
  & .center-container, & .right-container {
    background-color: #fff;
  }
  & .center-container {
    flex: 1;
    overflow: hidden;
    padding: 30px 36px 30px 32px;
    border-radius: 8px 0 0 8px;
  }
  & .right-container {
    width: 240px;
    flex-shrink: 0;
    padding: 38px 20px 0 20px;
    border-radius: 0 8px 8px 0;
  }
  & .left-container {
    width: 240px;
    padding: 30px 0;
    margin-right: 20px;
    border-radius: 8px;
    flex-shrink: 0;
    background: #FFFFFF;
  }
  & .page-not-found {
    padding: 4px;
    border-radius: 2px;
    background: #f5f6f8;
    margin-bottom: 12px;
    & .text {
      transform: scale(.9);
      font-size: 12px;
      color: #303133;
      transform-origin: left center;
    }
  }
}
// 文档目录菜单
.doc-directory-box {
  position: sticky;
  top: 94px;
  overflow: auto;
  max-height: calc(100vh - 94px);
  padding-left: 18px;
  font-size: 12px;
  border-left: 4px solid #F5EFEB;
  scrollbar-width: none !important;
  &::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none;
  }
  & .hide-directory-btn {
    cursor: pointer;
    width: 18px;
    height: 18px;
    margin-bottom: 16px;
    transition: all .3s;
    background-image: url(./images/icons/navigation.png);
    background-position: center center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    &:hover {
      background-image: url(./images/icons/navigation-h.png);
    }
  }
  & .directory-content {
    & a {
      display: block;
      color: inherit;
      line-height: 16px;
      &:hover {
        color: #FF6407;
      }
    }
    & p {
      margin: 0;
      color: #606266;
    }
    ul {
      &:first-child > li > p {
        color: #191A1B;
        font-weight: 600;
      }
      li {
        padding: 8px 0;
        &:first-child {
          padding-top: 10px;
        }
        ul {
          padding-left: 1rem;
        }
      }
    }
  }
}
// 右侧悬浮按钮组
.doc-right-btns {
  position: fixed;
  right: 10px;
  bottom: 20%;
  z-index: 2;
}
.doc-directory-btn {
  display: block;
  cursor: pointer;
  width: 60px;
  height: 60px;
  margin: 18px 0;
  box-shadow: 2px 3px 8px 0px rgba(126, 131, 143, 0.27);
  border-radius: 4px;
  background-color: #fff;
  background-repeat: no-repeat;
  text-align: center;
  &.nav, &.backtop {
    background-position: center center;
    background-size: 25px auto;
    border: 1px solid #F4F4F4;
    &:hover {
      color: #FF6407;
    }
  }
  &.nav {
    background-image: url(./images/icons/navigation.png);
    &:hover {
      background-image: url(./images/icons/navigation-h.png);
    }
  }
  &.backtop {
    background-image: url(./images/icons/backtop.png);
    &:hover {
      background-image: url(./images/icons/backtop-h.png);
    }
  }
  &.issue {
    background-color: #FF6407;
    background-position: center top 15px;
    background-size: 20px auto;
    background-image: url(./images/icons/issue.png);
    font-size: 12px;
    color: #fff;
    line-height: 16px;
    padding-top: 36px;
  }
}
// 文档小菜单，切换上下页
.doc-page-menu {
  text-align: center;
  padding-top: 28px;
  & .menu-content {
    padding: 6px 0;
    display: inline-block;
    border-top: 1px solid #ebeef5;
    border-bottom: 1px solid #ebeef5;
  }
  & .menu {
    position: relative;
    display: inline-block;
    margin: 0 16px;
    color: #606266;
    &:hover {
      color: #FF6407;
    }
  }
  & .icon-btn {
    margin-right: 24px;
    &:after {
      position: absolute;
      content: '';
      width: 6px;
      height: 10px;
      right: 0;
      margin-right: -12px;
      margin-top: 5px;
      background-size: contain;
      background: url(./images/icons/left-arrow.svg) no-repeat;
      transform-origin: center center;
    }
    &.prev {
      margin-left: 24px;
    }
    &.prev:after {
      left: 0;
      margin-left: -12px;
      transform: rotate(180deg);
    }
    &:hover:after {
      background-image: url(./images/icons/left-arrow-active.svg);
    }
  }
}
// 文档顶部版本支持
.doc-version-menu {
  font-size: 12px;
  color: #191A1B;
  font-weight: 500;
  line-height: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EBEEF5;
  & .current-product-info {
    display: flex;
    align-items: center;
    padding-bottom: 28px;
    font-size: 14px;
    & .product-type {
      font-size: 30px;
      line-height: 42px;
      padding-bottom: 10px;
    }
    & .product-desc {
      color: #606266;
      font-weight: 400;
    }
  }
  & .w-product-icon {
    width: 84px;
    height: 84px;
    margin-right: 12px;
    background-color: #FFFFFF;
    box-shadow: 0px 6px 13px 0px #E6D9D9;
    border-radius: 6px;
  }
  & .version-menu-item {
    display: flex;
    align-items: center;
    padding-left: 22px;
    margin-bottom: 12px;
    background: url(./images/icons/jump.png) left top 3px / 14px auto no-repeat;
    & .label {
      padding-right: 4px;
    }
    & .divide {
      padding: 0 1px;
    }
    & .divide, & .version {
      color: #FF6407;
    }
    & .version {
      cursor: pointer;
      &.is-active {
        text-decoration: underline;
      }
    }
  }
}
// 文档左侧版本切换
.product-version-box.ant-select {
  width: calc(100% - 40px);
  margin: 0 20px 24px;
  & .ant-select-selector {
    color: #303133;
    font-weight: 500;
    
  }
  &.ant-select:not(.ant-select-customize-input) .ant-select-selector {
    background: #F5F6F8;
    border-color: transparent;
  }
  &.ant-select:not(.ant-select-disabled):hover .ant-select-selector,
  &.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
    border-color: #FF6407;
    background: #fff;
  }
  &.ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
    box-shadow: 0 0 0 2px rgb(255,100, 7, 20%);
  }
}
.product-version-item {
  &.ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
    background-color: #FDEAE5;
  }
}
// 移动端目录展示收起按钮
.doc-menu-mobile {
  display: none;
  position: relative;
  padding: 14px 20px;
  background: #f7f8f9;
  color: #172d72;
  font-weight: bolder;
  font-size: 16px;
  z-index: 1;
  outline: none;
  &:after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: url(./images/icons/solid-arrow.png) no-repeat;
    background-size: contain;
    transform: rotate(0deg);
    transform-origin: 6px 3px;
    transition: transform 0.5s ease-out;
  }
  &.active {
    &:after {
      transform: rotate(90deg);
    }
  }
}
@media screen and (max-width: 1100px){
  ._index-container {
    & .title-box {
      padding-right: 310px;
      background-size: auto 126px;
    }
    & .index-box {
      padding-left: 20px;
    }
    & .index-group {
      margin-bottom: 20px;
      & h3 {
        font-size: 16px;
      }
      & .links p {
        width: calc((100% - 60px) / 3);
        font-size: 14px;
        margin-right: 20px;
      }
      & a {
        padding: 12px 16px;
      }
    }
  
  }
}
@media screen and (max-width: 900px){
  ._index-container {
    & .title-box {
      padding: 28px 38px;
      background-size: auto 56px;
      background-position: right 38px top 20px;
    }
    & .index-group {
      & .links p {
        width: calc((100% - 40px) / 2);
        margin-right: 20px;
      }
    }
  }
}
@media screen and (max-width: 750px){
  ._index-container {
    background-color: #F5F6F8;
    & .title-box {
      padding: 32px 24px;
      background-size: auto 56px;
      background-position: right 24px top 15px;
      border-radius: 0;
      margin-bottom: 32px;
      & h1 {
        font-size: 20px;
      }
    }
    & .index-box {
      padding-left: 24px;
    }
    & .index-group {
      margin-bottom: 20px;
      & h3 {
        font-size: 14px;
        padding-bottom: 12px;
      }
      & .links p {
        width: calc((100% - 40px) / 2);
        margin-right: 20px;
        font-size: 12px;
        margin-bottom: 12px;
      }
    }
  }
  .doc-container {
    display: block;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
    padding: 0px;
    background: #fff;
    &._index {
      background: transparent;
    }
    & .left-container {
      width: 100%;
      border-radius: 0;
      padding: 32px 0 0;
      overflow: initial;
    }
    & .center-container {
      overflow: auto;
      padding: 24px 24px 20px;
    }
    & .right-container {
      display: none;
    }
    & .doc-menu-mobile {
      display: block;
    }
    & .doc-directory-btn {
      width: 50px;
      height: 50px;
      margin: 7px 0;
      box-shadow: 1px 2px 5px 0px rgba(126,131,143,0.27);
      border-radius: 5px;
      &.nav, &.backtop {
        background-size: 17px auto;
      }
      &.nav {
        display: none;
      }
      &.issue {
        background-position: center top 9px;
        background-size: 17px auto;
        font-size: 10px;
        line-height: 10px;
        padding-top: 32px;
      }
    }
  }
  .doc-version-menu {
    padding-bottom: 10px;
    & .current-product-info {
      padding-bottom: 24px;
    }
    & .w-product-icon {
      margin-right: 16px;
      flex-shrink: 0;
    }
    & .version-menu-item {
      flex-wrap: wrap;
      & .label {
        flex-shrink: 0;
      }
    }
  }
}

h1:hover .anchor svg, h2:hover .anchor svg, h3:hover .anchor svg, h4:hover .anchor svg, h5:hover .anchor svg, h6:hover .anchor svg, h1 .anchor:focus svg, h2 .anchor:focus svg, h3 .anchor:focus svg, h4 .anchor:focus svg, h5 .anchor:focus svg, h6 .anchor:focus svg {
  visibility: visible;
}

// 文档样式
.markdown-body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: #606266;
  line-height: 1.5;
  font-size: 14px;
  word-wrap: break-word;
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    color: #191A1B;
    cursor: pointer;
    border-bottom: none;
    z-index: 1;
  }
}

.markdown-body .octicon {
  display: inline-block;
  fill: currentColor;
  vertical-align: text-bottom;
}

.markdown-body .anchor {
  float: left;
  line-height: 1;
  margin-left: -5px;
  padding-right: 4px;
}

.markdown-body .anchor:focus {
  outline: none;
}

.markdown-body h1 .octicon-link,
.markdown-body h2 .octicon-link,
.markdown-body h3 .octicon-link,
.markdown-body h4 .octicon-link,
.markdown-body h5 .octicon-link,
.markdown-body h6 .octicon-link {
  color: #1b1f23;
  vertical-align: middle;
  visibility: hidden;
}

.markdown-body h1:hover .anchor,
.markdown-body h2:hover .anchor,
.markdown-body h3:hover .anchor,
.markdown-body h4:hover .anchor,
.markdown-body h5:hover .anchor,
.markdown-body h6:hover .anchor {
  text-decoration: none;
}

.markdown-body h1:hover .anchor .octicon-link,
.markdown-body h2:hover .anchor .octicon-link,
.markdown-body h3:hover .anchor .octicon-link,
.markdown-body h4:hover .anchor .octicon-link,
.markdown-body h5:hover .anchor .octicon-link,
.markdown-body h6:hover .anchor .octicon-link {
  visibility: visible;
}

.markdown-body .pl-c {
  color: #6a737d;
}

.markdown-body .language-text:not(pre) {
  background: transparent !important;
  color: #454CAC;
}
.markdown-body pre.language-text .language-text {
  color: #657b83;
}

.markdown-body .pl-c1,
.markdown-body .pl-s .pl-v {
  color: #005cc5;
}

.markdown-body .pl-e,
.markdown-body .pl-en {
  color: #6f42c1;
}

.markdown-body .pl-s .pl-s1,
.markdown-body .pl-smi {
  color: #24292e;
}

.markdown-body .pl-ent {
  color: #22863a;
}

.markdown-body .pl-k {
  color: #d73a49;
}

.markdown-body .pl-pds,
.markdown-body .pl-s,
.markdown-body .pl-s .pl-pse .pl-s1,
.markdown-body .pl-sr,
.markdown-body .pl-sr .pl-cce,
.markdown-body .pl-sr .pl-sra,
.markdown-body .pl-sr .pl-sre {
  color: #032f62;
}

.markdown-body .pl-smw,
.markdown-body .pl-v {
  color: #e36209;
}

.markdown-body .pl-bu {
  color: #b31d28;
}

.markdown-body .pl-ii {
  background-color: #b31d28;
  color: #fafbfc;
}

.markdown-body .pl-c2 {
  background-color: #d73a49;
  color: #fafbfc;
}

.markdown-body .pl-c2:before {
  content: "^M";
}

.markdown-body .pl-sr .pl-cce {
  color: #22863a;
  font-weight: 700;
}

.markdown-body .pl-ml {
  color: #735c0f;
}

.markdown-body .pl-mh,
.markdown-body .pl-mh .pl-en,
.markdown-body .pl-ms {
  color: #005cc5;
  font-weight: 700;
}

.markdown-body .pl-mi {
  color: #24292e;
  font-style: italic;
}

.markdown-body .pl-mb {
  color: #24292e;
  font-weight: 700;
}

.markdown-body .pl-md {
  background-color: #ffeef0;
  color: #b31d28;
}

.markdown-body .pl-mi1 {
  background-color: #f0fff4;
  color: #22863a;
}

.markdown-body .pl-mc {
  background-color: #ffebda;
  color: #e36209;
}

.markdown-body .pl-mi2 {
  background-color: #005cc5;
  color: #FAF8F6;
}

.markdown-body .pl-mdr {
  color: #6f42c1;
  font-weight: 700;
}

.markdown-body .pl-ba {
  color: #586069;
}

.markdown-body .pl-sg {
  color: #959da5;
}

.markdown-body .pl-corl {
  color: #032f62;
  text-decoration: underline;
}

.markdown-body details {
  display: block;
}

.markdown-body summary {
  display: list-item;
}

.markdown-body a {
  background-color: transparent;
}

.markdown-body a:active,
.markdown-body a:hover {
  outline-width: 0;
}

.markdown-body strong {
  font-weight: inherit;
  font-weight: bolder;
}

.markdown-body h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

.markdown-body img {
  border-style: none;
}

.markdown-body code,
.markdown-body kbd,
.markdown-body pre:not(.asciinema-terminal) {
  font-family: monospace, monospace;
  font-size: 13px;
}

.markdown-body hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

.markdown-body input {
  font: inherit;
  margin: 0;
}

.markdown-body input {
  overflow: visible;
}

.markdown-body [type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

.markdown-body *:not(.asciinema-terminal) {
  box-sizing: border-box;
}

.markdown-body input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.markdown-body a {
  color: #FF6407;
  text-decoration: none;
}

.markdown-body a:hover {
  color: #FF6407;
  text-decoration: underline;
}

.markdown-body strong {
  font-weight: 600;
}

.markdown-body hr {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #dfe2e5;
  height: 0;
  margin: 15px 0;
  overflow: hidden;
}

.markdown-body hr:before {
  content: "";
  display: table;
}

.markdown-body hr:after {
  clear: both;
  content: "";
  display: table;
}

.markdown-body table {
  border-collapse: collapse;
  border-spacing: 0;
}

.markdown-body td,
.markdown-body th {
  padding: 0;
}

.markdown-body details summary {
  cursor: pointer;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-bottom: 0;
  margin-top: 0;
}

.markdown-body h1 {
  font-size: 32px;
}

.markdown-body h1,
.markdown-body h2 {
  font-weight: 600;
}

.markdown-body h2 {
  font-size: 24px;
}

.markdown-body h3 {
  font-size: 20px;
}

.markdown-body h3,
.markdown-body h4 {
  font-weight: 600;
}

.markdown-body h4 {
  font-size: 16px;
}

.markdown-body h5 {
  font-size: 14px;
}

.markdown-body h5,
.markdown-body h6 {
  font-weight: 600;
}

.markdown-body h6 {
  font-size: 12px;
}

.markdown-body p {
  margin-bottom: 10px;
  margin-top: 0;
}

.markdown-body blockquote {
  margin: 0;
}

.markdown-body ol,
.markdown-body ul {
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0;
  & li > p > strong {
    color: #303133;
  }
}

.markdown-body ol ol,
.markdown-body ul ol {
  list-style-type: lower-roman;
}

.markdown-body ol ol ol,
.markdown-body ol ul ol,
.markdown-body ul ol ol,
.markdown-body ul ul ol {
  list-style-type: lower-alpha;
}

.markdown-body dd {
  margin-left: 0;
}

.markdown-body code,
.markdown-body pre:not(.asciinema-terminal) {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
}

.markdown-body pre:not(.asciinema-terminal) {
  margin-bottom: 0;
  margin-top: 0;
}

.markdown-body input::-webkit-inner-spin-button,
.markdown-body input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.markdown-body .border {
  border: 1px solid #e1e4e8 !important;
}

.markdown-body .border-0 {
  border: 0 !important;
}

.markdown-body .border-bottom {
  border-bottom: 1px solid #e1e4e8 !important;
}

.markdown-body .rounded-1 {
  border-radius: 3px !important;
}

.markdown-body .bg-white {
  background-color: #fff !important;
}

.markdown-body .bg-gray-light {
  background-color: #FAF8F6 !important;
}

.markdown-body .text-gray-light {
  color: #6a737d !important;
}

.markdown-body .mb-0 {
  margin-bottom: 0 !important;
}

.markdown-body .my-2 {
  margin-bottom: 8px !important;
  margin-top: 8px !important;
}

.markdown-body .pl-0 {
  padding-left: 0 !important;
}

.markdown-body .py-0 {
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.markdown-body .pl-1 {
  padding-left: 4px !important;
}

.markdown-body .pl-2 {
  padding-left: 8px !important;
}

.markdown-body .py-2 {
  padding-bottom: 8px !important;
  padding-top: 8px !important;
}

.markdown-body .pl-3,
.markdown-body .px-3 {
  padding-left: 16px !important;
}

.markdown-body .px-3 {
  padding-right: 16px !important;
}

.markdown-body .pl-4 {
  padding-left: 24px !important;
}

.markdown-body .pl-5 {
  padding-left: 32px !important;
}

.markdown-body .pl-6 {
  padding-left: 40px !important;
}

.markdown-body .f6 {
  font-size: 12px !important;
}

.markdown-body .lh-condensed {
  line-height: 1.25 !important;
}

.markdown-body .text-bold {
  font-weight: 600 !important;
}

.markdown-body:before {
  content: "";
  display: table;
}

.markdown-body:after {
  clear: both;
  content: "";
  display: table;
}

.markdown-body > :first-child {
  margin-top: 0 !important;
}

.markdown-body > :last-child {
  margin-bottom: 0 !important;
}

.markdown-body a:not([href]) {
  color: inherit;
  text-decoration: none;
}

.markdown-body blockquote,
.markdown-body dl,
.markdown-body ol,
.markdown-body p,
.markdown-body pre:not(.asciinema-terminal),
.markdown-body table,
.markdown-body ul {
  margin-bottom: 16px;
  margin-top: 0;
}

.markdown-body hr {
  background-color: #e1e4e8;
  border: 0;
  height: 0.25em;
  margin: 24px 0;
  padding: 0;
}

.markdown-body blockquote {
  border-left: 4px solid #FF6407;
  background-color: #FFF5F2;
  color: #909399;
  padding: 20px 14px 20px 20px;
  font-size: 12px;
  & p {
    margin-bottom: 8px;
  }
  & strong {
    color: #606266;
  }
  & img {
    height: 14px;
    width: auto;
  }
  & pre:not(.asciinema-terminal) {
    font-size: inherit;
    padding: 0;
    background-color: transparent !important;
  }
}

.markdown-body blockquote > :first-child {
  margin-top: 0;
}

.markdown-body blockquote > :last-child {
  margin-bottom: 0;
}

.markdown-body kbd {
  background-color: #FAF8F6;
  border: 1px solid #c6cbd1;
  border-bottom-color: #959da5;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #959da5;
  color: #444d56;
  display: inline-block;
  font-size: 11px;
  line-height: 10px;
  padding: 3px 5px;
  vertical-align: middle;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
  margin-top: 24px;
}

.markdown-body h1 {
  font-size: 24px;
}

.markdown-body h1,
.markdown-body h2 {
  padding-bottom: 6px;
}

.markdown-body h2 {
  font-size: 22px;
}

.markdown-body h3 {
  font-size: 20px;
}

.markdown-body h4 {
  font-size: 16px;
}

.markdown-body h5 {
  font-size: 14px;
}

.markdown-body h6 {
  color: #6a737d;
  font-size: 12px;
}

.markdown-body ol,
.markdown-body ul {
  padding-left: 2em;
}

.markdown-body ol ol,
.markdown-body ol ul,
.markdown-body ul ol,
.markdown-body ul ul {
  margin-bottom: 0;
  margin-top: 0;
}

.markdown-body li {
  word-wrap: break-word;
}

.markdown-body ul li {
  list-style: disc;
}

.markdown-body ol li {
  list-style: decimal;
}

.markdown-body li > p {
  margin-top: 16px;
}

.markdown-body li + li {
  margin-top: 0.25em;
}

.markdown-body dl {
  padding: 0;
}

.markdown-body dl dt {
  font-size: 1em;
  font-style: italic;
  font-weight: 600;
  margin-top: 16px;
  padding: 0;
}

.markdown-body dl dd {
  margin-bottom: 16px;
  padding: 0 16px 16px;
}

.markdown-body table {
  display: block;
  overflow: auto;
  width: 100%;
  font-size: 12px;
  & thead tr {
    background-color: #FAF8F6;
    color: #606266;
  }
  & p, & ul {
    margin-bottom: 0;
  }
}

.markdown-body table th {
  font-weight: 600;
}

.markdown-body table td,
.markdown-body table th {
  padding: 8px 18px;
  text-align: left;
  &[align=center] {
    text-align: center;
  }
  &[align=right] {
    text-align: right;
  }
  &[align=left] {
    text-align: left;
  }
}

.markdown-body table tr {
  background-color: #fff;
  border: 1px solid #ebeef5;
}

.markdown-body table tr:nth-child(2n) {
  background-color: #FAF8F6;
}

.markdown-body img {
  background-color: #fff;
  box-sizing: content-box;
  max-width: 100%;
}

.markdown-body img[align="right"] {
  padding-left: 20px;
}

.markdown-body img[align="left"] {
  padding-right: 20px;
}

.markdown-body .commit-tease-sha {
  color: #444d56;
  display: inline-block;
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: 90%;
}

.markdown-body .blob-wrapper {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  overflow-x: auto;
  overflow-y: hidden;
}

.markdown-body .blob-wrapper-embedded {
  max-height: 240px;
  overflow-y: auto;
}

.markdown-body .blob-num {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  color: rgba(27, 31, 35, 0.3);
  cursor: pointer;
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: 12px;
  line-height: 20px;
  min-width: 50px;
  padding-left: 10px;
  padding-right: 10px;
  text-align: right;
  user-select: none;
  vertical-align: top;
  white-space: nowrap;
  width: 1%;
}

.markdown-body .blob-num:hover {
  color: rgba(27, 31, 35, 0.6);
}

.markdown-body .blob-num:before {
  content: attr(data-line-number);
}

.markdown-body .blob-code {
  line-height: 20px;
  padding-left: 10px;
  padding-right: 10px;
  position: relative;
  vertical-align: top;
}

.markdown-body .blob-code-inner {
  color: #24292e;
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: 12px;
  overflow: visible;
  white-space: pre;
  word-wrap: normal;
}

.markdown-body .pl-token.active,
.markdown-body .pl-token:hover {
  background: #ffea7f;
  cursor: pointer;
}

.markdown-body kbd {
  background-color: #fafbfc;
  border: 1px solid #d1d5da;
  border-bottom-color: #c6cbd1;
  border-radius: 3px;
  box-shadow: inset 0 -1px 0 #c6cbd1;
  color: #444d56;
  display: inline-block;
  font: 11px SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  line-height: 10px;
  padding: 3px 5px;
  vertical-align: middle;
}

.markdown-body :checked + .radio-label {
  border-color: #FF6407;
  position: relative;
  z-index: 1;
}

.markdown-body .tab-size[data-tab-size="1"] {
  -moz-tab-size: 1;
  tab-size: 1;
}

.markdown-body .tab-size[data-tab-size="2"] {
  -moz-tab-size: 2;
  tab-size: 2;
}

.markdown-body .tab-size[data-tab-size="3"] {
  -moz-tab-size: 3;
  tab-size: 3;
}

.markdown-body .tab-size[data-tab-size="4"] {
  -moz-tab-size: 4;
  tab-size: 4;
}

.markdown-body .tab-size[data-tab-size="5"] {
  -moz-tab-size: 5;
  tab-size: 5;
}

.markdown-body .tab-size[data-tab-size="6"] {
  -moz-tab-size: 6;
  tab-size: 6;
}

.markdown-body .tab-size[data-tab-size="7"] {
  -moz-tab-size: 7;
  tab-size: 7;
}

.markdown-body .tab-size[data-tab-size="8"] {
  -moz-tab-size: 8;
  tab-size: 8;
}

.markdown-body .tab-size[data-tab-size="9"] {
  -moz-tab-size: 9;
  tab-size: 9;
}

.markdown-body .tab-size[data-tab-size="10"] {
  -moz-tab-size: 10;
  tab-size: 10;
}

.markdown-body .tab-size[data-tab-size="11"] {
  -moz-tab-size: 11;
  tab-size: 11;
}

.markdown-body .tab-size[data-tab-size="12"] {
  -moz-tab-size: 12;
  tab-size: 12;
}

.markdown-body .task-list-item {
  list-style-type: none;
}

.markdown-body .task-list-item + .task-list-item {
  margin-top: 3px;
}

.markdown-body .task-list-item input {
  margin: 0 0.2em 0.25em -1.6em;
  vertical-align: middle;
}

.markdown-body hr {
  border-bottom-color: #eee;
}

.markdown-body em {
  font-style: inherit;
}

.markdown-body .pl-0 {
  padding-left: 0 !important;
}

.markdown-body .pl-1 {
  padding-left: 4px !important;
}

.markdown-body .pl-2 {
  padding-left: 8px !important;
}

.markdown-body .pl-3 {
  padding-left: 16px !important;
}

.markdown-body .pl-4 {
  padding-left: 24px !important;
}

.markdown-body .pl-5 {
  padding-left: 32px !important;
}

.markdown-body .pl-6 {
  padding-left: 40px !important;
}

.markdown-body .pl-7 {
  padding-left: 48px !important;
}

.markdown-body .pl-8 {
  padding-left: 64px !important;
}

.markdown-body .pl-9 {
  padding-left: 80px !important;
}

.markdown-body .pl-10 {
  padding-left: 96px !important;
}

.markdown-body .pl-11 {
  padding-left: 112px !important;
}

.markdown-body .pl-12 {
  padding-left: 128px !important;
}

// 代码块
.markdown-body .gatsby-highlight {
  position: relative;
  margin-top: 50px;
  &:not([data-language="ebnf+diagram"]):before {
    position: absolute;
    content: attr(data-language);
    bottom: 100%;
    left: 0;
    padding: 0 15px;
    background: #EFEFEF;
    border-radius: 4px 4px 0px 0px;
    color: #606266;
    height: 30px;
    line-height: 30px;
  }
  & pre:not(.asciinema-terminal) {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 60px;
  }
  // & pre.language-shell, & pre.language-bash {
  //   &:before {
  //     content: '$';
  //   }
  // }
  // pre {
  //   &::before {
  //     padding-right: 0.5rem;
  //   }
  //   &.shell-root::before {
  //     content: '#';
  //   }
  //   &.shell-regular::before {
  //     content: '$';
  //   }
  //   &.sql::before {
  //     content: '>';
  //   }
  // }
  & .pre-copy-btn {
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 13px;
    height: 24px;
    background: #fff;
    border-radius: 0px 0px 0px 4px;
    color: #FF6407;
    line-height: 24px;
    font-size: 12px;
    width: 60px;
    text-align: center;
  }
}

.markdown-body code {
  border-radius: 3px;
  font-size: 85%;
  margin: 0;
  padding: 0.2em 0.4em;
}

.markdown-body pre:not(.asciinema-terminal) {
  word-wrap: normal;
}

.markdown-body pre:not(.asciinema-terminal) > code {
  border: 0;
  font-size: 100%;
  margin: 0;
  padding: 0;
  white-space: pre;
  word-break: normal;
}

.markdown-body .highlight {
  margin-bottom: 16px;
}

.markdown-body .highlight pre:not(.asciinema-terminal) {
  margin-bottom: 0;
  word-break: normal;
}

.markdown-body .highlight pre:not(.asciinema-terminal),
.markdown-body pre:not(.asciinema-terminal) {
  background-color: #FAF9F9 !important;
  border-radius: 0px;
  line-height: 1.45;
  overflow: auto;
  padding: 16px;
}

.markdown-body pre:not(.asciinema-terminal) code {
  border: 0;
  display: inline;
  line-height: inherit;
  margin: 0;
  max-width: auto;
  overflow: visible;
  padding: 0;
  word-wrap: normal;
}
